package com.ybwh.springboot1.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.github.pagehelper.Page;
import com.ybwh.springboot1.model.po.Area;

public interface AreaMapper {
    /**
     *
     * @mbggenerated
     */
    int deleteByPrimaryKey(Integer id);

    /**
     *
     * @mbggenerated
     */
    int insert(Area record);

    /**
     *
     * @mbggenerated
     */
    int insertSelective(Area record);

    /**
     *
     * @mbggenerated
     */
    Area selectByPrimaryKey(Integer id);

    /**
     *
     * @mbggenerated
     */
    int updateByPrimaryKeySelective(Area record);

    /**
     *
     * @mbggenerated
     */
    int updateByPrimaryKey(Area record);
    
    Page<Area> selectByPageNumSize(
    		@Param("area") Area area,
            @Param("pageNum") int pageNum, 
            @Param("pageSize") int pageSize);
}